<?php echo $this->tinyMce;?>
<h1><?php echo $title;?></h1>

<?php
echo form_open('ccourse/edit');
echo "<div class='div-manipulate'>";
echo "<p><label for='title'>Title</label><br/>";
$data = array('name'=>'title','id'=>'title','size'=>25,'value'=>$course['title']);
echo form_input($data) ."</p>";

echo "<p><label for='shortdesc'>Short Description</label><br/>";
$data = array('name'=>'shortdesc','id'=>'shortdesc','size'=>40,'value'=>$course['shortdesc']);
echo form_input($data) ."</p>";

echo "<p><label for='long'>Long Description</label><br/>";
$data = array('name'=>'longdesc','id'=>'long','rows'=>5, 'cols'=>'40','value'=>$course['longdesc']);
echo form_textarea($data) ."</p>";
echo "</div>";

echo form_hidden('course_id',$course['course_id']);
echo form_submit(array('class'=>'btn','name'=>'submit'),'Update Course');
echo form_close();


?>